package io.renren.modules.base.service;

import io.renren.common.utils.R;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface UploadFileService {


    String uploadFile(MultipartFile file, String typePath);

    List<String> uploadFiles(List<MultipartFile> files, String typePath);

    String uploadFilesToString(List<MultipartFile> files, String typePath);

    R compressedUpload(List<MultipartFile> files, Double widthRate, Double heightRate);

}
